package com.meida.paotui.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 
 *
 * @author flyme
 * @date 2019-10-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_voucherdetail")
@TableAlias("voucherdetail")
@ApiModel(value="BusVoucherdetail对象", description="")
public class BusVoucherdetail extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "voucherDetailId", type = IdType.ID_WORKER)
    private String voucherDetailId;

    @ApiModelProperty(value = "优惠券id")
    private String voucherId;

    @ApiModelProperty(value = "优惠券领取人id")
    private String userId;

    @ApiModelProperty(value = "1 未使用 2已使用")
    private String state;

    @ApiModelProperty(value = "使用时间")
    private String modifyTime;

}
